package com.molichuxing.gateway.bff.user.services;

import java.util.List;

import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.user.entity.request.create.IdentityCardCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.create.IdentityCardImgCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.create.UserCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.modify.AccountModifyVo;
import com.molichuxing.gateway.bff.user.entity.request.modify.UserModifyVo;
import com.molichuxing.gateway.bff.user.entity.response.AccountVo;
import com.molichuxing.gateway.bff.user.entity.response.UserLoginVo;

/**
 * 用户服务接口
 * @author liyg
 * 2019-10-17
 *
 */
public interface TerminalUserBffService {

	/**
	 * 大屏读取身份证接口
	 * @param createVo
	 * @return
	 */
	ResponseResult<UserLoginVo> createIdentityCard(IdentityCardCreateVo createVo);
	
	/**
	 * 大屏手机注册接口
	 * @param createVo
	 * @param terminalToken
	 * @return
	 */
	ResponseResult<String> createUser(UserCreateVo createVo,String terminalToken);
	
	/**
	 * 大屏修改用户信息
	 * @param modifyVo
	 * @param terminalToken
	 * @return
	 */
	Boolean modifyUser(UserModifyVo modifyVo,String terminalToken);
	
	/**
	 * 跟cpu号查询销售顾问账号
	 * @param deviceNum cpu号
	 * @return
	 * @throws Exception 
	 */
	List<AccountVo> getStroeAccount(String deviceNum) throws Exception;
	
	/**
	 * 大屏销售顾问登录接口
	 * @param modifyVo
	 * @return
	 */
	ResponseResult<String> counselorLogin(AccountModifyVo modifyVo);
	
	/**
	 * 保存身份证图片信息
	 * @param createVo
	 * @return
	 */
	Boolean createCardImg(IdentityCardImgCreateVo  createVo);
}
